const deal = {
    state: {
        dspName: "BTC/USDT",
        tickers: [],
    },
    // getters 适用于获取值，不会改变state原值
    getters: {
        getState (state) {
            return state
        },
        
    },

    // 修改state
    mutations: {
        setDspName(state, dspName) {
			state.dspName = dspName;
		},
        setTickers(state, tickers) {
			state.tickers = tickers;
		},
    },
    actions: {

    }
}
export default deal